package org.tissou.client.DonneesAAfficher;

import com.google.gwt.user.client.rpc.IsSerializable;
import com.google.gwt.user.client.ui.Widget;
import com.google.gwt.user.client.ui.HTML;
import org.tissou.client.Services.MonException;

/**
 * Created by IntelliJ IDEA.
 * User: Claire
 * Date: 03/03/2009
 * Time: 21:12:32
 * To change this template use File | Settings | File Templates.
 */
public class Element_NoTransaction implements IsSerializable,Element {
  int notransaction;

  public Element_NoTransaction() {
  }

  public int getNotransaction() {
    return notransaction;
  }

  public Element_NoTransaction(int notransaction) {

    this.notransaction = notransaction;
  }

  public Widget ConvertirEnWidget() {
    return new HTML(String.valueOf(notransaction));

  }

  public Element clone() {
    return new Element_NoTransaction();
  }

  public void setCaracteristique(int numero_transaction) {

      notransaction = numero_transaction;
    }
}
